<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/11/27
  Time: 22:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改页面</title>
    <style>
        div {
            width: 600px;
            margin: 1em auto;
            padding: 10px;
            background: darkgray;
            text-align: center;
        }
    </style>
</head>
<body>
    <div>
        <h3>修改页面</h3>
        <form action="${pageContext.request.contextPath}/student/update" method="post">
            请输入要修改的学号：<input value="${students.no}" placeholder="学生学号" name="no" readonly><br><br>
            请输入要修改的姓名：<input value="${students.name}" placeholder="学生姓名" name="name"><br><br>
            请输入要修改的年龄：<input value="${students.age}" placeholder="学生年龄" name="age"><br><br>
            请输入要修改的性别：<input value="${students.sex}" placeholder="学生性别" name="sex"><br><br>
            请输入要修改的分数：<input value="${students.score}" placeholder="学生分数" name="score" type="number"><br><br>
            请输入要修改的时间：<input value="${students.time}" placeholder="入学时间" type="date" name="time"><br><br>
            <button>提交修改</button>
        </form>
        <a href="/student/list">返回首页</a>
    </div>
</body>
</html>
